Skip to content

feat(config): support LOGLEVEL env var as shorthand for LOGLEVEL_GENERAL - #24

Merged
obeone merged 2 commits into
mainfrom
rename-loglevel-general
Mar 14, 2026
Merged

feat(config): support LOGLEVEL env var as shorthand for LOGLEVEL_GENERAL#24
obeone merged 2 commits into
mainfrom
rename-loglevel-general

Conversation

@obeone

@obeone obeone commented Mar 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add support for the LOGLEVEL environment variable to set the general log level, instead of the less intuitive LOGLEVEL_GENERAL
  • LOGLEVEL_GENERAL remains supported for backward compatibility and takes priority if both are set
  • Document the new env var in config.yaml

Test plan

  • Set LOGLEVEL=WARNING → verify general log level is WARNING
  • Set LOGLEVEL_GENERAL=ERROR → verify general log level is ERROR (backward compat)
  • Set both LOGLEVEL=WARNING and LOGLEVEL_GENERAL=ERROR → verify ERROR wins
  • Set neither → verify default INFO from config.yaml

obeone added 2 commits March 15, 2026 00:01
Add support for the LOGLEVEL environment variable to set the general
log level. LOGLEVEL_GENERAL remains supported for backward compatibility
and takes priority if both are set.
@obeone
obeone merged commit c7cbc06 into main Mar 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant